#ifndef MY_TREECOMBOBOXVIEW_H
#define MY_TREECOMBOBOXVIEW_H

#include <QMouseEvent>
#include <QObject>
#include <QTreeView>

///
/// \brief The MY_TreeComboBoxView class
/// 下拉树的view
///
class MY_TreeComboBoxView : public QTreeView
{
  Q_OBJECT
public:
    MY_TreeComboBoxView();
protected:
  void mousePressEvent(QMouseEvent *event) override;
signals:
  void treeMousePressed(bool inItem);
};

#endif // MY_TREECOMBOBOXVIEW_H
